package com.zkt.subject.domain.convert;

import com.zkt.subject.infra.entity.SubjectAnswerBO;
import com.zkt.subject.infra.basic.entity.SubjectMultiple;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2025/2/22
 * @description 多选题目的实体类型转换器
 **/

@Mapper
public interface SubjectMultipleConverter {
	
	SubjectMultipleConverter INSTANCE = Mappers.getMapper(SubjectMultipleConverter.class);
	
	SubjectMultiple convertBoToMultiple(SubjectAnswerBO subjectAnswerBO);
	
	List<SubjectAnswerBO> convertListMultipleToBo(List<SubjectMultiple> subjectMultipleList);
}
